package STUDENT.TRANNGUYENQUAN.OOPs.OBJECT_AND_CLASSES.Rectangle;

public class Models {
	public double Area(Rectangle rec) {
		return rec.getHeight() * rec.getWidth();
	}

	public double Perimeter(Rectangle rec) {
		return (rec.getHeight() + rec.getHeight()) * 2;
	}
}
